//
//  AppDelegate.m
//  BNCodeGuide
//
//  Created by kevin007 on 2020/10/9.
//  Copyright © 2020 kevin007. All rights reserved.
//

#import "AppDelegate.h"

#import "BNTabBarController.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // Override point for customization after application launch.
    
    [self setupRootController];
    
    return YES;
}


/// setup root controller
- (void)setupRootController {
    self.window = [[UIWindow alloc] initWithFrame:UIScreen.mainScreen.bounds];
    self.window.backgroundColor = [UIColor whiteColor];
    self.window.rootViewController = [[BNTabBarController alloc] init];
    [self.window makeKeyAndVisible];
}

@end
